-- GENERATED SPELL FOR [Syndicate Assassin] --


function spell0_2246(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2246', 30000, 1)
end

function Sorts_2246(pUnit, Event)
local choix_sorts_2246 = math.random(0, 0)
if choix_sorts_2246 == 0 then
pUnit:RegisterEvent('spell0_2246', 1, 1)
end
end

function mob2246_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2246', math.random(1500, 3000), 1)
end

function mob2246_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2246_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2246_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2246, 1, 'mob2246_Action')
RegisterUnitEvent(2246, 2, 'mob2246_Leave')
RegisterUnitEvent(2246, 3, 'mob2246_Kill')
RegisterUnitEvent(2246, 4, 'mob2246_Die')
